package com.collect.tanzania.zhiScene.zhiCollection.zhiGroup.zhiRoot;

public class ZHIPerformanceReduce {
    public static long mLastReloadGroupUserListTime = 0L;

    public static boolean shouldReloadGroupUesrList() {

        if (ZHIPerformanceReduce.mLastReloadGroupUserListTime <= 0L) {
            mLastReloadGroupUserListTime = System.currentTimeMillis();
            return true;
        }

        long curTMills = System.currentTimeMillis();
        if ((curTMills - mLastReloadGroupUserListTime) >= 300000L) {
            mLastReloadGroupUserListTime = curTMills;
            return true;
        }

        return false;
    }
}
